home *** CD-ROM | disk | FTP | other *** search
/ 3D Games - Real-time Rend…ng & Software Technology / 3D Games - Real-time Rendering & Software Technology.iso / flysdk / plugin / panorama / panorama.h < prev   
Encoding:
C/C++ Source or Header  |  2000-01-18  |  450 b   |  27 lines

  1. enum
  2. {
  3.     TYPE_PANORAMA=0x150,
  4. };
  5.  
  6. class panorama : public bsp_object
  7. {
  8.     public:
  9.  
  10.         int img[6];
  11.         float size;
  12.         vector color;
  13.  
  14.     void draw();
  15.     int get_custom_param_desc(int i,param_desc *pd);
  16.  
  17.      panorama() { type=TYPE_PANORAMA; rot.null(); };
  18. };
  19.  
  20. class panorama_desc : public class_desc
  21. {
  22. public:
  23.     void *create() { return new panorama; };
  24.     char *get_name() { return "panorama"; };
  25.     int get_type() { return TYPE_PANORAMA; };
  26. };
  27.